package com.atguigu.scala.chapter_05_function_01

object Scala_07 {
  def main(args: Array[String]): Unit = {

   def count(major:Int,name:Int,stu:Int*)={
     println(major+name)
   }
    def sum(a1:Int,a2:Int=10,a3:Int):Int={
      return a1+a2+a3
    }
    println(sum(a2=14,a3=100,a1=0))
  }
}
